package com.example.cloudcashierpos.bean;


import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 前台点餐主表
 */
@Entity
public class corecmsfoodorderingmaster {

    /**
     * 序号
     */
    @Id
    private long orderId;

    /**
     * 门店id
     */
    private int storeId;

    /**
     * 订单号
     */
    private String orderNo;

    /**
     * 取单号
     */
    private String number;

    /**
     * 日期
     */
    private Date orderDate;

    /**
     * 菜品数
     */
    private int foodCount;

    /**
     * 就餐人数
     */
    private int person;

    /**
     * 数量
     */
    private double sumQuantity;

    /**
     * 单据应收金额
     */
    private double sumAmount;

    /**
     * 单据实收金额
     */
    private double sumRealAmount;

    /**
     * 做法金额
     */
    private double sumTaskAmount;

    /**
     * 加料金额
     */
    private double sumFeedAmount;

    /**
     * 折扣金额
     */
    private double sumDiscountAmount;

    /**
     * 抹零金额
     */
    private double sumFloorAmount;

    /**
     * 减免金额
     */
    private double sumFreeAmount;

    /**
     * 优惠金额
     */
    private double sumReduceAmount;

    /**
     * 赠送金额
     */
    private double sumPresentAmount;

    /**
     * 小计
     */
    private double sumAllAmount;

    /**
     * 小计（未抹零和减免前 ）
     */
    private double sumAllAmount1;

    /**
     * 电话号码
     */
    private String telephone;

    /**
     * 订单类型 0全部；1堂食；2外带;
     */
    private Integer ordertype;

    /**
     * 桌号id
     */
    private Long deskId;

    /**
     * 班次Id
     */
    private Long classId;

    /**
     * 会员ID
     */
    private Long userId;

    /**
     * 支付状态(0 未付款1 已预结2 已支付)
     */
    private int payStatus;

    /**
     * 订单状态(UTableItemInfo.TableStatus)
     */
    private int status;

    /**
     * 用户Id
     */
    private Integer sysUserId;

    /**
     * 日期
     */
    private Date createTime;

    /**
     * 备注
     */
    private String remark;

    @Generated(hash = 1009574967)
    public corecmsfoodorderingmaster(long orderId, int storeId, String orderNo,
            String number, Date orderDate, int foodCount, int person,
            double sumQuantity, double sumAmount, double sumRealAmount,
            double sumTaskAmount, double sumFeedAmount, double sumDiscountAmount,
            double sumFloorAmount, double sumFreeAmount, double sumReduceAmount,
            double sumPresentAmount, double sumAllAmount, double sumAllAmount1,
            String telephone, Integer ordertype, Long deskId, Long classId,
            Long userId, int payStatus, int status, Integer sysUserId,
            Date createTime, String remark) {
        this.orderId = orderId;
        this.storeId = storeId;
        this.orderNo = orderNo;
        this.number = number;
        this.orderDate = orderDate;
        this.foodCount = foodCount;
        this.person = person;
        this.sumQuantity = sumQuantity;
        this.sumAmount = sumAmount;
        this.sumRealAmount = sumRealAmount;
        this.sumTaskAmount = sumTaskAmount;
        this.sumFeedAmount = sumFeedAmount;
        this.sumDiscountAmount = sumDiscountAmount;
        this.sumFloorAmount = sumFloorAmount;
        this.sumFreeAmount = sumFreeAmount;
        this.sumReduceAmount = sumReduceAmount;
        this.sumPresentAmount = sumPresentAmount;
        this.sumAllAmount = sumAllAmount;
        this.sumAllAmount1 = sumAllAmount1;
        this.telephone = telephone;
        this.ordertype = ordertype;
        this.deskId = deskId;
        this.classId = classId;
        this.userId = userId;
        this.payStatus = payStatus;
        this.status = status;
        this.sysUserId = sysUserId;
        this.createTime = createTime;
        this.remark = remark;
    }

    @Generated(hash = 337572032)
    public corecmsfoodorderingmaster() {
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public int getStoreId() {
        return storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public int getFoodCount() {
        return foodCount;
    }

    public void setFoodCount(int foodCount) {
        this.foodCount = foodCount;
    }

    public int getPerson() {
        return person;
    }

    public void setPerson(int person) {
        this.person = person;
    }

    public double getSumQuantity() {
        return sumQuantity;
    }

    public void setSumQuantity(double sumQuantity) {
        this.sumQuantity = sumQuantity;
    }

    public double getSumAmount() {
        return sumAmount;
    }

    public void setSumAmount(double sumAmount) {
        this.sumAmount = sumAmount;
    }

    public double getSumRealAmount() {
        return sumRealAmount;
    }

    public void setSumRealAmount(double sumRealAmount) {
        this.sumRealAmount = sumRealAmount;
    }

    public double getSumTaskAmount() {
        return sumTaskAmount;
    }

    public void setSumTaskAmount(double sumTaskAmount) {
        this.sumTaskAmount = sumTaskAmount;
    }

    public double getSumFeedAmount() {
        return sumFeedAmount;
    }

    public void setSumFeedAmount(double sumFeedAmount) {
        this.sumFeedAmount = sumFeedAmount;
    }

    public double getSumDiscountAmount() {
        return sumDiscountAmount;
    }

    public void setSumDiscountAmount(double sumDiscountAmount) {
        this.sumDiscountAmount = sumDiscountAmount;
    }

    public double getSumFloorAmount() {
        return sumFloorAmount;
    }

    public void setSumFloorAmount(double sumFloorAmount) {
        this.sumFloorAmount = sumFloorAmount;
    }

    public double getSumFreeAmount() {
        return sumFreeAmount;
    }

    public void setSumFreeAmount(double sumFreeAmount) {
        this.sumFreeAmount = sumFreeAmount;
    }

    public double getSumReduceAmount() {
        return sumReduceAmount;
    }

    public void setSumReduceAmount(double sumReduceAmount) {
        this.sumReduceAmount = sumReduceAmount;
    }

    public double getSumPresentAmount() {
        return sumPresentAmount;
    }

    public void setSumPresentAmount(double sumPresentAmount) {
        this.sumPresentAmount = sumPresentAmount;
    }

    public double getSumAllAmount() {
        return sumAllAmount;
    }

    public void setSumAllAmount(double sumAllAmount) {
        this.sumAllAmount = sumAllAmount;
    }

    public double getSumAllAmount1() {
        return sumAllAmount1;
    }

    public void setSumAllAmount1(double sumAllAmount1) {
        this.sumAllAmount1 = sumAllAmount1;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public Integer getOrdertype() {
        return ordertype;
    }

    public void setOrdertype(Integer ordertype) {
        this.ordertype = ordertype;
    }

    public Long getDeskId() {
        return deskId;
    }

    public void setDeskId(Long deskId) {
        this.deskId = deskId;
    }

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public int getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(int payStatus) {
        this.payStatus = payStatus;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Integer getSysUserId() {
        return sysUserId;
    }

    public void setSysUserId(Integer sysUserId) {
        this.sysUserId = sysUserId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}